﻿@model IEnumerable<PhotoAlbums.Models.Photo>

@{
    ViewBag.Title = "Index";
}

<h2></h2>

<div class="container-fluid">
    <div class="row">
        @foreach (var item in Model)
        {
            <div class="col-lg-4 col-sm-6 col-xs-12">
                <a href="/Comment/Index?photoId=@item.Id">
                    <img src="@item.PhotoPath" class="pa-img img-responsive" />
                </a>
            </div>
        }
    </div>
</div>